var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.askMenu("结束之后，要返回#m865020300#吗？\r\n#b\r\n#L0#返回#m865020300#。#l", 0, 9390234)
        } else {
            cm.warp(865020300, 1);
            cm.dispose()
        }
    }
};